@import "normalize.less";
@import "reset.less";
@import "bootstrap/bootstrap.less";

@tool-logo-height: 60px;

.iframe-x{
    overflow: hidden;
    iframe{
        width: 100%;
        height: 1800px;
    }
}

.navbar{
    .navbar-fixed-top;
}

// top-head
.top-head{
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
    margin-top: 70px;
    .left{
        display: flex;
    }
    .right{
        display: block;
    }
}
.tool-logo{
    width: @tool-logo-height;
    height: @tool-logo-height;
    display: inline-block;
    img{
        display: block;
        width: 100%;
    }
}
.tool-h1{
    display: inline-block;
    font-size: 22px;
    line-height: @tool-logo-height;
    margin: 0;
    vertical-align: top;
    font-weight: 700;
    padding-left: 10px;
}
.tool-back{
    font-size: 12px;
    margin: 5px 0 0px;
    .tips{
        color: #999;
    }
    .gohome{
       &:before{
           content: "/";
           display: inline-block;
           padding: 0 5px 0 0px;
       }
    }
}


.footer{
    background-color: #353D45;
    margin-top: 50px;
    .inner{
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        clip: rect(0 9999px 9999px -9999px);
        outline: 9999px solid #353D45;
        background-color: #353D45;
        padding: 20px 0;
        display: block;
        margin: 0 auto 0;
    }
    .qr-box-inner{
        width: 100%;
        font-size: 0;
        display: flex;
        padding: 0 20px;
        li{
            flex: 1;
            padding: 10px 10px;
            display: inline-block;
            font-size: 14px;
            text-align: center;
            color: #bbb;
            border-radius: 5px;
            .qr-x-em{
                display: block;
                margin: 0 auto 10px;
                padding: 6px;
                background-color: #fff;
                background-color: rgba(255, 255, 255, 0.8);
                border-radius: 5px;
            }
            img{
                display: block;
                width: 100%;
            }
        }
    }
    .copyright{
        color: #fff;
        text-align: center;
        font-size: 12px;
        border-top: 1px solid #282e34;
        padding: 15px 0 0;
        margin-top: 0px;
    }
}


.logo{
    display: inline-block;
    padding: 5px 15px 5px 15px;
    img{
        height: 100%;
        display: inline-block;
    }
    .logo-text{
        display: inline-block;
        font-weight: 700;
        height: 40px;
        line-height: 40px;
        margin-left: 5px;
    }
}

// 用于list-group
.info-list{
    >.list-group-item{
        margin-bottom: 20px;
    }
}


#go-top {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #dddddd;
    background-image: url();
    text-indent: -999em;
}

.index-cards{
    .item-inner{
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 15px;
        transition: all 0.4s;
        &:hover{
            box-shadow: 0px 3px 5px #ddd;
            transform: translate3d(0, -5px, 0);
        }
    }
    .item-dt{
        font-size: 0;
        height: 66px;
        margin-bottom: 15px;
        border-bottom: 1px dashed #ccc;
        .item-logo{
            display: inline-block;
            width: 26%;
        }
        .item-title{
            display: inline-block;
            width: 70%;
            padding-left: 4%;
            vertical-align: top;
            .item-h4{
                .h4;
                font-size: 16px;
                line-height: 20px;
                display: block;
                margin: 5px 0;
                width: 100%;
                overflow: hidden;
                &:hover{
                    color: @brand-primary;
                }
            }
            .cls{
                font-size: 12px;
                color: #ccc;
                b{
                    font-weight: 700;
                    color: #4d4d4d;
                }
            }
        }
    }
    .item-dd{
        .item-desc{
            height: 48px;
            font-size: 14px;
            line-height: 1.6em;
            color: #929292;
        }
        .item-go{
            .clearfix;
            .item-copy{
                color: @brand-primary;
                cursor: pointer;
                .pull-left;
                margin-bottom: 0;
                &:hover{
                    color: @brand-danger;
                }
            }
            .item-link{
                .pull-right;
                .icon{
                    width: 16px;
                    margin-left: -3px;
                }
            }
        }
    }
}

[id="nav-tabbar"] {
    margin-top: 70px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    .btn-group{
        margin-bottom: 15px;
        flex: 1;
        button{
            float: none;
            width: 100%;
        }
    }
}

.alert{
    display: none;
    text-align: center;
    padding: 30px 0;
}

.search-result{
    position: fixed;
    width: 60px;
    right: 20px;
    top: 80px;
    display: none;
    cursor: pointer;
    img{
        width: 100%;
    }
}

.layui-layer-content{
    text-align: center;
    font-size: 18px!important;
}
.layui-layer-btn0{
    font-size: 18px!important;
    height: 40px!important;
    line-height: 40px!important;
    padding: 0 30px!important;
}

.headline{
    border-left: 10px solid @brand-primary;
    padding-left: 10px;
}

.custom-form-1{
    padding: 30px 0 20px;
    .single-btn{
        width: 100%;
        .center-block;
        margin-top: 30px;
    }
}

.margin-bot-l{
    margin-bottom: 20px;
}


// 返回的是编码
.result-text{
    border: 1px solid #ccc;
    padding: 10px;
    display: block;
    width: 100%;
    height: 200px;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
    word-break: break-all;
    font-family: Monaco,'Lucida Console',monospace,Consolas,Courier,'Microsoft YaHei';
    background-image: url(../img/result-empty.png);
    background-repeat: no-repeat;
    background-position: center center;
    &:focus,
    &.not-empty
    {
        background-image: none;
    }
}


.code-pre{
    padding: 20px 0;
    pre{}
}